<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MiXiM: BaseConnectionManager::GridCoord Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MiXiM
   &#160;<span id="projectnumber">2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00097.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">BaseConnectionManager::GridCoord Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="BaseConnectionManager::GridCoord" -->
<p>Represents a position inside a grid.  
 <a href="a00097.html#details">More...</a></p>

<p><a href="a00573.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc40471233f51e22e561d78ef9231926"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::GridCoord" ref="acc40471233f51e22e561d78ef9231926" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#acc40471233f51e22e561d78ef9231926">GridCoord</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize this <a class="el" href="a00097.html" title="Represents a position inside a grid.">GridCoord</a> with the origin. Creates a 3-dimensional coord. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa7e86ef98fd7a4d91d0fdfcdb17e9e3"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::GridCoord" ref="afa7e86ef98fd7a4d91d0fdfcdb17e9e3" args="(int x, int y)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#afa7e86ef98fd7a4d91d0fdfcdb17e9e3">GridCoord</a> (int x, int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a 2-dimensional <a class="el" href="a00097.html" title="Represents a position inside a grid.">GridCoord</a> with x and y. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acae21cc9126603082dbce10f45e97a5e"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::GridCoord" ref="acae21cc9126603082dbce10f45e97a5e" args="(int x, int y, int z)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#acae21cc9126603082dbce10f45e97a5e">GridCoord</a> (int x, int y, int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a 3-dimensional <a class="el" href="a00097.html" title="Represents a position inside a grid.">GridCoord</a> with x, y and z. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f3fd84363c60c0260dc01660b8a6dc8"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::GridCoord" ref="a4f3fd84363c60c0260dc01660b8a6dc8" args="(const GridCoord &amp;o)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#a4f3fd84363c60c0260dc01660b8a6dc8">GridCoord</a> (const <a class="el" href="a00097.html">GridCoord</a> &amp;o)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Simple copy-constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5277a00268c4b72ea0af57f595100f32"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::GridCoord" ref="a5277a00268c4b72ea0af57f595100f32" args="(const Coord &amp;c, const Coord &amp;gridCellSize=Coord(1.0, 1.0, 1.0))" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#a5277a00268c4b72ea0af57f595100f32">GridCoord</a> (const <a class="el" href="a00065.html">Coord</a> &amp;c, const <a class="el" href="a00065.html">Coord</a> &amp;gridCellSize=<a class="el" href="a00065.html">Coord</a>(1.0, 1.0, 1.0))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="a00097.html" title="Represents a position inside a grid.">GridCoord</a> from a given <a class="el" href="a00065.html" title="Class for storing 3D coordinates.">Coord</a> by dividing the x,y and z-values by "gridCellWidth". The dimension of the <a class="el" href="a00097.html" title="Represents a position inside a grid.">GridCoord</a> depends on the <a class="el" href="a00065.html" title="Class for storing 3D coordinates.">Coord</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91ebc91e4af84ce4cf11d177d8ed7813"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::info" ref="a91ebc91e4af84ce4cf11d177d8ed7813" args="() const " -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#a91ebc91e4af84ce4cf11d177d8ed7813">info</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Output string for this coordinate. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Coordinates in the grid.</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a158c3270ff10545efaf07d41c67306b5"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::x" ref="a158c3270ff10545efaf07d41c67306b5" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaaa399690632b3e605af0bd1c190100b"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::y" ref="aaaa399690632b3e605af0bd1c190100b" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a075ddccd3c60f44fe6051c7afefdd255"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::z" ref="a075ddccd3c60f44fe6051c7afefdd255" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>z</b></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b7b149e4419a68dad34a9558f5c3c31"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::operator==" ref="a2b7b149e4419a68dad34a9558f5c3c31" args="(const GridCoord &amp;a, const GridCoord &amp;b)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#a2b7b149e4419a68dad34a9558f5c3c31">operator==</a> (const <a class="el" href="a00097.html">GridCoord</a> &amp;a, const <a class="el" href="a00097.html">GridCoord</a> &amp;b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator for coordinates. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b6fb213ce1ee286ec6c894b7b22cfa5"></a><!-- doxytag: member="BaseConnectionManager::GridCoord::operator!=" ref="a8b6fb213ce1ee286ec6c894b7b22cfa5" args="(const GridCoord &amp;a, const GridCoord &amp;b)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00097.html#a8b6fb213ce1ee286ec6c894b7b22cfa5">operator!=</a> (const <a class="el" href="a00097.html">GridCoord</a> &amp;a, const <a class="el" href="a00097.html">GridCoord</a> &amp;b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Comparison operator for coordinates. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Represents a position inside a grid. </p>
<p>Internal helper class of <a class="el" href="a00019.html" title="Module to control the channel and handle all connection related stuff.">BaseConnectionManager</a>. This class provides some converting functions from a <a class="el" href="a00065.html" title="Class for storing 3D coordinates.">Coord</a> to a <a class="el" href="a00097.html" title="Represents a position inside a grid.">GridCoord</a>. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/MiXiM/extsrc/mixim/src/base/connectionManager/<a class="el" href="a00245_source.html">BaseConnectionManager.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00019.html">BaseConnectionManager</a>      </li>
      <li class="navelem"><a class="el" href="a00097.html">GridCoord</a>      </li>

    <li class="footer">Generated on Tue Mar 5 2013 21:26:31 for MiXiM by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
